import request from '@/utils/request'

//注册短信验证码
export function getCodemsgRegister(data) {
    return request({
        url: `/api/sms/register`,
        //post请求
        method: 'post',
        data
    })
}

//登录短信验证码
export function getCodemsgLogin(data) {
    return request({
        url: `/api/sms/login`,
        //post请求
        method: 'post',
        data
    })
}

//身份验证验证码
export function identityAuthentication(data) {
    return request({
        url: `/api/sms/identityAuthentication`,
        //post请求
        method: 'post',
        data
    })
}
